<?php

if($_SERVER['DOCUMENT_ROOT'] == "C:/xampp/htdocs")
{
    $connect = @mysql_connect("localhost", "UberMouse", "263hck");
    $selectdb = @mysql_select_db("bf", $connect);
}
else
{
   
}

$id = $_GET['id']; 

$selectNews = mysql_query("SELECT * FROM news");
$deleteNews = mysql_query("DELETE FROM news WHERE id='$id'");
$selectNewsID = mysql_query("SELECT * FROM news WHERE id='$id'");

?>